import { IRouteComponentProps } from 'umi'

import Wind from "./wind"
// import StudentsLayout from "./studentsLayout"

const Layout:React.FC<IRouteComponentProps>=props=>{
    console.log(props);
    if (/\/page/.test(props.location.pathname)) {
        // return props.children
        return <Wind>{props.children}</Wind>
    }
    
    return props.children
}

export default Layout